package com.richardjaap.data;

import java.util.ArrayList;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class Bet {
	private int playerId;
	private double amount;
	//private ArrayList<Value> values;
	boolean isBlack = true;
	
	public Bet(int playerId, double amount, boolean isBlack )
	{
		this.playerId = playerId;
		this.amount = amount;
		this.isBlack = isBlack;
	}
	
	public Bet() {
		
	}

	public int getPlayerId() {
		return playerId;
	}

	public void setPlayerId(int playerId) {
		this.playerId = playerId;
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

	public boolean isBlack() {
		return isBlack;
	}

	public void setBlack(boolean isBlack) {
		this.isBlack = isBlack;
	}

	
	
	/*public ArrayList<Value> getValues() {
		return values;
	}

	public void setValues(ArrayList<Value> values) {
		this.values = values;
	}*/
	
	public String toString(){
		return "Player ID: " + playerId + ", Amount: " + amount + ", BetThing: " + (isBlack ? "Black" : "Red");
	}
}
